package com.aos.erp.manager.dto;

import com.aos.erp.manager.enums.DelStatus;
import com.aos.erp.manager.enums.NoticeType;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("通知公告详情")
public class NoticeDetailDTO implements Serializable {
    @ApiModelProperty(value="公告ID",hidden=true)
    private long id;

    @ApiModelProperty(value = "公告类型：notice为公告；msg为消息", hidden = true)
    private NoticeType noticeType = NoticeType.notice;

    @ApiModelProperty(value = "是否删除：del_no为未删除；del_yes为已删除", hidden = true)
    private DelStatus isDel = DelStatus.del_no;

    @ApiModelProperty(value = "公告标题, 100字符内",hidden=true)
    private String noticeTitle;

    @ApiModelProperty(value = "公告内容：5000字符内",hidden=true)
    private String noticeContent;

    @ApiModelProperty(value = "弹窗提示开始时间",hidden=true)
    private String tipsStartTime;

    @ApiModelProperty(value = "弹窗提示截止时间",hidden=true)
    private String tipsEndTime;

    @ApiModelProperty(value = "弹窗时间", hidden = true)
    private String tipsTime;

    @ApiModelProperty(value = "是否弹窗", hidden = true)
    private String isTips;

    @ApiModelProperty(value = "分发组织", hidden = true)
    private String dispenseOrg;

    @ApiModelProperty(value = "发布人",hidden=true)
    private String publisher;

    @ApiModelProperty(value = "发布时间",hidden=true)
    private String publishTime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public NoticeType getNoticeType() {
        return noticeType;
    }

    public void setNoticeType(NoticeType noticeType) {
        this.noticeType = noticeType;
    }

    public DelStatus getIsDel() {
        return isDel;
    }

    public void setIsDel(DelStatus isDel) {
        this.isDel = isDel;
    }

    public String getNoticeTitle() {
        return noticeTitle;
    }

    public void setNoticeTitle(String noticeTitle) {
        this.noticeTitle = noticeTitle;
    }

    public String getNoticeContent() {
        return noticeContent;
    }

    public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent;
    }

    public String getTipsStartTime() {
        return tipsStartTime;
    }

    public void setTipsStartTime(String tipsStartTime) {
        this.tipsStartTime = tipsStartTime;
    }

    public String getTipsEndTime() {
        return tipsEndTime;
    }

    public void setTipsEndTime(String tipsEndTime) {
        this.tipsEndTime = tipsEndTime;
    }

    public String getTipsTime() {
        return tipsTime;
    }

    public void setTipsTime(String tipsTime) {
        this.tipsTime = tipsTime;
    }

    public String getIsTips() {
        return isTips;
    }

    public void setIsTips(String isTips) {
        this.isTips = isTips;
    }

    public String getDispenseOrg() {
        return dispenseOrg;
    }

    public void setDispenseOrg(String dispenseOrg) {
        this.dispenseOrg = dispenseOrg;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }
}
